﻿@model IEnumerable<LeadMaster.Models.QCOrder>

<table  class="listtable contactstable" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th class="tableheader">Lead Date</th>
<th class="tableheader">Int Ref</th>
<th class="tableheader">Name</th>
<th class="tableheader">Status</th>
<th class="tableheader">PO Status</th>
</tr>
</thead>
@foreach (var item in Model)
{
    <tr>
    <td>@item.LeadDate</td>
    <td>@item.IntRef</td>
    <td>
    <a href="@Url.Action("ProcessQCOrder")/?leadDate=@(item.LeadDate)&leadid=@(item.leadid)">
    @string.Format("{0} {1}",item.Firstname,item.Surname)
    </a>
    </td>
    <td>@item.Status</td>
    <td>@item.POstatus</td>
    </tr>
}
</table>
